package com.kasax.imgloader.demo.api;

import com.kasax.imgloader.demo.bean.BannerResult;
import com.kasax.imgloader.demo.bean.SubListInfo;

import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiService {
    @GET("chapter/547/sublist/json")
    Observable<SubListInfo> getSublist();

    @GET("/banner/json")
    Observable<BannerResult> getBanners();
}
